import styled from "styled-components";

export const RegisterWrap = styled.div`
  width: 220px;
  margin: 0 auto;
  .country-code-phone {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
    .country-code {
      border: 1px solid #ccc;
      border-right: none;
      line-height: 30px;
      padding: 0 10px;
      position: relative;
      cursor: pointer;
    }
    .phoneNumber {
      flex: 1;
      background-color: #fff;
      border: 1px solid #ccc;
      line-height: 30px;
      padding-left: 10px;
    }
    .icon-up-jt {
      position: absolute;
      width: 7px;
      height: 4px;
      background-image: url(${require("@/assets/img/sprite_icon3.png")
        .default});
      background-position: -260px -450px;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
    .country-list {
      position: absolute;
      width: 220px;
      z-index: 999;
      top: 109px;
      display: none;
      ul {
        height: 160px;
        overflow-y: scroll;
        li {
          height: 32px;
          line-height: 32px;
          background-color: #fff;
          cursor: pointer;
          :hover {
            background-color: #eaeaea;
          }
        }
      }
    }
  }
  .zc-password-ipt {
    line-height: 30px;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 100%;
    padding-left: 10px;
    margin-bottom: 20px;
  }
  .goToNext {
    width: 220px;
    height: 31px;
    line-height: 31px;
    text-align: center;
    margin-top: 10px;
    background-image: url(${require("@/assets/img/sprite_button.png").default});
    background-position: 0 -387px;
    color: #fff;
    :hover {
      background-position: 0 -469px;
      cursor: pointer;
    }
  }
  .goBackLogin {
    position: absolute;
    bottom: 0px;
    background-color: #f7f7f7;
    height: 49px;
    border-top: 1px solid #c6c6c6;
    left: 0px;
    width: 530px;
    line-height: 49px;
    font-size: 12px;
    padding-left: 20px;
    span {
      cursor: pointer;
    }
  }
`;
